package com.cmc.cloud.cmclink.doc.api.document.rep.manifestrep.manifest;

import com.cmc.cloud.cmclink.doc.util.so.LocalDateTimeSerializerApi;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 舱单主Response VO
 *
 * @author chenzheng
 */
@Schema(description = "管理后台 - 舱单主 Response VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ManifestRespVO extends ManifestBaseVO implements Serializable {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9636")
    private Long id;

    @Schema(description = "soId")
    private Long soId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "订舱预配")
    private String forecastCntrDesc;

    @Schema(description = "20GPX1;40HCX1")
    private String cntrDesc;

    @Schema(description = "货类 聚合")
    private String cargoTypeSum;

    @Schema(description = "预估毛重（kgs）")
    private BigDecimal grossWeightSum;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "是否使用星号")
    private Boolean useAsterisk;

}
